package com.oms.service.local;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.oms.repository.second.CustomerRepository;
import com.oms.vo.second.Customer;

@Service
public class CustomerService {
	
	@Autowired
	private CustomerRepository customerRepository;
	
	public Customer getById(Long id) {
		return customerRepository.findOne(id);
	}
}
